home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / sewerscape.swf / scripts / DefineSprite_214 / frame_6 / DoAction.as
Text File  |  2007-10-01  |  4KB  |  160 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 1164 % 511 * 5;
  4. }
  5. var ┬º\x01┬º = -608 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 102)
  9.    {
  10.       set("\x01",eval("\x01") + 414);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else
  14.    {
  15.       if(eval("\x01") == 445)
  16.       {
  17.          set("\x01",eval("\x01") + 20);
  18.          this.onPress = function()
  19.          {
  20.             if(!_root.gameended)
  21.             {
  22.                if(_root.sunet == 1)
  23.                {
  24.                   _root.s_peanut.start();
  25.                }
  26.                _root.power = "none";
  27.                if(_root.lang == "eng")
  28.                {
  29.                   _root.powtxt = "PEANUT ";
  30.                }
  31.                else
  32.                {
  33.                   _root.powtxt = "ALUNA ";
  34.                }
  35.                _root.powmessage.play();
  36.                _root.P2204 = _root.P2204 + 1;
  37.                gotoAndStop("remove");
  38.                play();
  39.             }
  40.          };
  41.          this.onEnterFrame = function()
  42.          {
  43.             if(_parent.checkCollision(this,_parent.hamster))
  44.             {
  45.                if(!_root.gameended)
  46.                {
  47.                   if(_root.sunet == 1)
  48.                   {
  49.                      _root.s_peanut.start();
  50.                   }
  51.                   if(_root.lang == "eng")
  52.                   {
  53.                      _root.powtxt = "PEANUT ";
  54.                   }
  55.                   else
  56.                   {
  57.                      _root.powtxt = "ALUNA ";
  58.                   }
  59.                   _root.powmessage.play();
  60.                   _root.power = "none";
  61.                   _root.P2204 = _root.P2204 + 1;
  62.                   gotoAndStop("remove");
  63.                   play();
  64.                }
  65.             }
  66.          };
  67.          break;
  68.       }
  69.       if(eval("\x01") == 21)
  70.       {
  71.          set("\x01",eval("\x01") + 424);
  72.       }
  73.       else
  74.       {
  75.          if(eval("\x01") == 465)
  76.          {
  77.             set("\x01",eval("\x01") - 465);
  78.             break;
  79.          }
  80.          if(eval("\x01") == 516)
  81.          {
  82.             set("\x01",eval("\x01") + 219);
  83.             if(function ┬º\x01\x02┬º()
  84.             {
  85.                return 1164 % 511 * 5;
  86.             })
  87.             {
  88.                set("\x01",eval("\x01") - 198);
  89.             }
  90.          }
  91.          else
  92.          {
  93.             if(eval("\x01") == 735)
  94.             {
  95.                set("\x01",eval("\x01") - 198);
  96.                break;
  97.             }
  98.             if(eval("\x01") == 847)
  99.             {
  100.                set("\x01",eval("\x01") - 71);
  101.                ┬º┬ºpush("\x0f");
  102.             }
  103.             else if(eval("\x01") == 131)
  104.             {
  105.                set("\x01",eval("\x01") - 110);
  106.                if(function ┬º\x01\x02┬º()
  107.                {
  108.                   return 1164 % 511 * 5;
  109.                })
  110.                {
  111.                   set("\x01",eval("\x01") + 424);
  112.                }
  113.             }
  114.             else if(eval("\x01") == 537)
  115.             {
  116.                set("\x01",eval("\x01") - 459);
  117.             }
  118.             else if(eval("\x01") == 458)
  119.             {
  120.                set("\x01",eval("\x01") + 389);
  121.                var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  122.                {
  123.                   return 1164 % 511 * 5;
  124.                };
  125.             }
  126.             else if(eval("\x01") == 776)
  127.             {
  128.                set("\x01",eval("\x01") - 557);
  129.                ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  130.                {
  131.                   return 1164 % 511 * 5;
  132.                }));
  133.             }
  134.             else if(eval("\x01") == 219)
  135.             {
  136.                set("\x01",eval("\x01") - 88);
  137.                ┬º┬ºpush(!function ┬º\x01\x02┬º()
  138.                {
  139.                   return 1164 % 511 * 5;
  140.                });
  141.             }
  142.             else if(eval("\x01") == 107)
  143.             {
  144.                set("\x01",eval("\x01") - 29);
  145.             }
  146.             else
  147.             {
  148.                if(eval("\x01") != 78)
  149.                {
  150.                   break;
  151.                }
  152.                set("\x01",eval("\x01") + 380);
  153.                ┬º┬ºpush("\x0f");
  154.                ┬º┬ºpush(1);
  155.             }
  156.          }
  157.       }
  158.    }
  159. }
  160.